import chalk from 'chalk';

const errorFn = (text) => {
    console.log(chalk.bold.hex('#ff0000')(text));
}

const warning = (text) => {
    console.log(chalk.bold.hex('#ffa500')(text));
}

const successFn = (text) => {
    console.log(chalk.bold.green(text))
}

const underline = (text) => chalk.blue.underline.bold(text);

export default {
    error: errorFn,
    warning: warning,
    success: successFn,
    underline
}